package cn.stazxr.component;

import javax.swing.*;

/**
 * Package: cn.stazxr.component
 *
 * @Author: stazxr
 * @Create: 2023/12/11
 * @Version: v1.0
 **/
public class JColorChooserTest {
    public static void main(String[] args) {
        JFrame frame = new JFrame("我是颜色选择器");
        frame.setBounds(500, 500, 600, 300);
        frame.setLayout(null);

        JColorChooser chooser = new JColorChooser();
        chooser.setBounds(0, 0, 600, 300);
        frame.add(chooser);

        frame.setVisible(true);
    }
}
